package com.exchange.controller.app.market;

import com.exchange.controller.BaseController;
import com.jfinal.aop.Inject;
import com.jfinal.kit.Ret;

/**
 * 市场/交易对
 */
public class MarketController extends BaseController {
	
	@Inject
	MarketService service;
	
	/**
	 * 交易对
	 */
	public void pairs(){
		Ret ret = service.pairs();
		renderJson(ret);
    }
	
	/**
	 * 市场
	 */
	public void market() {
		Ret ret = service.market();
		renderJson(ret);
    }
	
	
}
